home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-07-07 | 1.3 KB | 50 lines | [TEXT/ALFA] |
- set distScript {
- New Archive "Internal:Desktop Folder:Alpha.5.5b2.sea"
- Use "Alpha 5.5b2.sea"
- Stuff "Internal:Development:Alpha:Alpha 5.5b2" compress
- Stuff "Internal:Development:Alpha:Changes" compress
- Stuff "Internal:Development:Alpha:Help:" compress
- Stuff "Internal:Development:Alpha:README" compress
- Stuff "Internal:Development:Alpha:Tcl:" compress
- Stuff "Internal:Development:Alpha:xtcls:" compress
- Quit
- }
-
- set backupScript {
- Write Status To
- New Archive "External:Desktop Folder:Alpha.source.5.3.sea"
- Use "Alpha.source.5.3.sea"
- Stuff "Internal:C:Alpha:Alpha" compress
- Stuff "Internal:C:Alpha:Alpha.rsrc" compress
- Stuff "Internal:C:Alpha:Changes" compress
- Stuff "Internal:C:Alpha:Help:" compress
- Stuff "Internal:C:Alpha:README" compress
- Stuff "Internal:C:Alpha:Tcl:" compress
- Stuff "Internal:C:Alpha:xtcls:" compress
- Stuff "Internal:C:Alpha:EditSource:" compress
- Stuff "Internal:C:Alpha:Tcl 6.2:" compress
- Quit
- }
-
- proc createStuffitArchive {} {
- global distScript
- sendStuffitScript $distScript
- }
-
- proc backupSource {} {
- global backupScript
- sendStuffitScript $backupScript
- }
-
- proc sendStuffitScript script {
- regexp {[0-9.]+} [version] vers
- if ![regsub -all {5.[0-9]+} $script $vers outScript] {
- alertnote "Script substitution error"
- return
- }
- launch "Internal:Utils:StuffIt Deluxe™"
- dosc -n "StuffIt Deluxe™" -r -s $outScript
- }
-
-
-